<%include file="header.tpl"/>

<div class="wrapper lineT">
  <div class="mainBox">
    <div class="main">
<%include file="leftside.tpl"/>
      <div class="dedeCenter" id="personal">
<form id="configform" name="configform" method="post" class="editform" action="">
  <table width="100%" border="0" class="edittable">
    <tr>
      <th colspan="2" class="formtitle">站点设置</th>
    </tr>
    <tr>
      <td width="18%">网站标题</td>
      <td width="82%"><label for="title"></label>
      <input name="title" type="text" id="title" value="${webpage['title']}" class="admintable" /></td>
    </tr>
    <tr>
      <td>网站副标题</td>
      <td><label for="subtitle"></label>
      <input name="subtitle" type="text" id="subtitle" value="${webpage['subtitle']}" class="admintable" /></td>
    </tr>
    <tr>
      <td>时差（小时）</td>
      <td><label for="houroffset"></label>
      <input name="houroffset" type="text" id="houroffset" value="${webpage['timeoffset']}" class="admintable" /></td>
    </tr>
      <tr>
      <td>页面主题</td>
      <td><select name="theme" style="width: 120px">
		%for theme in themes:
          %if cmp(theme, webpage['theme']) == 0:
          <option selected="selected">${theme}</option>
          %else:
		    <option>${theme}</option>
          %endif
		%endfor
      </select>
      </td>
    </tr>
    <tr>
      <td>每页文章数</td>
      <td><label for="numofentry"></label>
      <input name="numofentry" type="text" id="numofentry" value="${webpage['numofentry']}" class="admintable" /></td>
    </tr>
    <tr>
      <td>每页留言数</td>
      <td><label for="numofgreeting"></label>
      <input name="numofgreeting" type="text" id="numofgreeting" value="${webpage['numofgreeting']}" class="admintable" /></td>
    </tr>
    <tr>
      <td>评论顺序</td>
      <td><p>
        <label>
          <input name="orderofcomment" type="radio" id="orderofcomment_0" value="0" ${webpage['order']}  />
          顺序</label>

        <label>
          <input type="radio" name="orderofcomment" value="1" id="orderofcomment_1"  ${webpage['rev']}  />
          逆序</label>
        <br />
      </p></td>
    </tr>
    <tr>
      <td>每页评论数</td>
      <td><label for="numofcomment"></label>
      <input name="numofcomment" type="text" id="numofcomment" value="${webpage['numofcomment']}" class="admintable" /></td>
    </tr>
    <tr>
      <td>网站所有者</td>
      <td><input name="owner" type="text" id="owner" value="${webpage['owner']}" class="admintable" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><input type="submit" name="save" id="save" value="保存" /></td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
      </div>
      <div class="clear"></div>
    </div>
<%include file="rightside.tpl"/>
  </div>
</div>
<%include file="footer.tpl"/>
